
<span id="routines-datetime"></span><h1><span class="yiyi-st" id="yiyi-14">Datetime Support Functions</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/routines.datetime.html">https://docs.scipy.org/doc/numpy/reference/routines.datetime.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<div class="section" id="business-day-functions">
<h2><span class="yiyi-st" id="yiyi-15">Business Day Functions</span></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%">
<col width="90%">
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-16"><a class="reference internal" href="generated/numpy.busdaycalendar.html#numpy.busdaycalendar" title="numpy.busdaycalendar"><code class="xref py py-obj docutils literal"><span class="pre">busdaycalendar</span></code></a></span></td>
<td><span class="yiyi-st" id="yiyi-17">一个工作日日历对象，有效地存储定义工作日家庭功能的有效日期的信息。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-18"><a class="reference internal" href="generated/numpy.is_busday.html#numpy.is_busday" title="numpy.is_busday"><code class="xref py py-obj docutils literal"><span class="pre">is_busday</span></code></a>（dates [，weekmask，holidays，...]）</span></td>
<td><span class="yiyi-st" id="yiyi-19">计算哪些给定日期是有效日期，哪些日期不是。</span></td>
</tr>
<tr class="row-odd"><td><span class="yiyi-st" id="yiyi-20"><a class="reference internal" href="generated/numpy.busday_offset.html#numpy.busday_offset" title="numpy.busday_offset"><code class="xref py py-obj docutils literal"><span class="pre">busday_offset</span></code></a>（dates，offsets [，roll，...]）</span></td>
<td><span class="yiyi-st" id="yiyi-21">首先根据<code class="docutils literal"><span class="pre">roll</span></code>规则将日期调整为有效日期，然后将偏移量应用于在有效天计算的给定日期。</span></td>
</tr>
<tr class="row-even"><td><span class="yiyi-st" id="yiyi-22"><a class="reference internal" href="generated/numpy.busday_count.html#numpy.busday_count" title="numpy.busday_count"><code class="xref py py-obj docutils literal"><span class="pre">busday_count</span></code></a>（begindates，enddates [，...]）</span></td>
<td><span class="yiyi-st" id="yiyi-23">计算<em class="xref py py-obj">结束</em>和<em class="xref py py-obj">结束</em>之间（不包括<em class="xref py py-obj">结束日期</em>的日期）的有效天数。</span></td>
</tr>
</tbody>
</table>
</div>
